﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace WcfWtf
{
    public class FunService : IFunService
    {
        public List<Fun> GetFun()
        {
            var fun = new List<Fun>();

            fun.Add(new Fun()
            {
                url = "http://geekandpoke.typepad.com/.a/6a00d8341d3df553ef0176171afbc7970c-800wi",
                funFactor = 2
            });

            fun.Add(new Fun()
            {
                url = "http://geekandpoke.typepad.com/.a/6a00d8341d3df553ef017616f132ad970c-800wi",
                funFactor = 1
            });

            return fun;
        }

        public bool HasFun()
        {
            return true;
        }
    }
}
